<template>
  <div>
    <h1>ChildC</h1>
    <h2>
      ChildC1
      <slot name="box" :username="username" />
    </h2>
    <h2>
      ChildC2
      <slot :age="age" />
    </h2>
  </div>
</template>

<script>
export default {
  name: 'ChildC',
  data() {
    return {
      username: '张三',
      age: 18,
    }
  },
}
</script>

<style></style>
